@import 'src/res/theme/xxhz';



.paddingNone {
  padding: 0 !important;
}

.productRoot {
  width: 100%;
  display: flex;
  justify-content: space-between;
  min-height: 100vh;
  flex-direction: column;

  .iconClass {
    line-height: 2;
    z-index: 900;
  }

  .at-drawer__mask {
    top: 98px;
  }

  .at-drawer__content {
    top: 98px;
  }

  .scrrent {
    padding: 20px;
    height: calc(100% - 100px);

    .taro-scroll-view__scroll-y {
      height: 100%;
    }

    .scrrent-item {
      margin-bottom: 60px;

      .scrrent-item-title {
        font-size: 32px;
        font-weight: 600;
        color: #333;
        margin-bottom: 30px;
      }

      .scrrent-item-content {
        display: flex;
        align-items: center;

        .priceInput {
          margin: 0;
          background-color: #f8f8f8;
          border-radius: 60px;
          text-align: center;
          padding: 16px;
        }

        .line {
          margin: 0 20px;
        }
      }

      .scrrent-item-label {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;

        .label {
          font-size: 28px;
          background-color: #f8f8f8;
          padding: 20px;
          margin-right: 18px;
          border-radius: 60px;
          color: #666;
        }

        .active {
          color: #fff;
          background-color: $mainColor;
        }

        .label:last-child {
          margin-right: 0;
        }
      }
    }

    .scrollviewWeapp {
      height: 100% !important;
    }

    .scrrent-item-btn {
      position: absolute;
      bottom: 0;
      width: 95%;
      display: flex;
      justify-content: center;
      overflow: hidden;

      .btn {
        width: 35%;
        background-color: #f5f5f5;
        padding: 20px;
        border-radius: 60px;
        font-size: 36px;
        text-align: center;
      }

      .btn-reset {
        margin-right: 10px;
      }
    }
  }

  .head-bg {
    position: sticky;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
  }

  .label-nav {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 20px 0;
    display: flex;
    justify-content: space-between;
    background-color: #fff;

    .nav-box {
      flex: 1;
      display: flex;
      transition: all 0.4s ease 0s;
      overflow: hidden;
      max-height: 60px;

      .item {
        flex-shrink: 0;
        font-size: 26px;
        color: #333;
        padding: 10px 20px;
        box-sizing: border-box;
        position: relative;
        height: 60px;
      }

      .subcategory {
        display: flex;
        flex-grow: 1;
        flex-wrap: wrap;
      }

      .indicator {
        &.h5 {
          line-height: 1;
        }

        .close {
          transition: all 0.4s ease 0s;
          transform: rotateZ(180deg);
        }

        .open {
          transform: rotateZ(0deg);
        }
      }

      .active {
        color: #000;
        font-weight: bold;

        // font-size: 28px;
        &::after {
          content: '';
          display: block;
          position: absolute;
          background-color: $color-brand;
          width: 50%;
          height: 3px;
          // bottom: 0;
          margin-top: 5px;
          left: 25%;
          z-index: 5;
          border-radius: 2Px;
        }
      }
    }

    .nav-box-open {
      // height: auto;
      transition: all 0.4s ease 0s;
      overflow: hidden;
      max-height: fit-content;
    }

    .notice {
      width: 130px;
      color: $color-brand;
      font-size: 26px;
      flex-shrink: 0;
      text-align: center;
      display: flex;
      align-items: center;
      white-space: nowrap;

      &::after {
        content: "\e913";
        display: block;
      }
    }
  }

  .search-box {
    width: 100%;
    background-color: white;
  }

  .goods-box {
    width: 100%;
    box-sizing: border-box;
    padding: 30px 20px;
  }

  .good-item {
    width: 100%;
    border-bottom: solid 1Px #ddd;
    padding: 30px 0;
  }

  .good-item:last-child {
    border-bottom: none;
  }

  .listNull {
    width: 100%;
    height: 105vw;
    text-align: center;
    overflow: hidden;

    .taro-img {
      width: 295px !important;
      height: initial !important;
    }

    image {
      width: 295px;
      height: 295px;
      margin: 86px auto 35px;
    }

    .text {
      font-size: 24px;
      color: #666
    }
  }

  .small-goods-box .good-item-box .img-box .discount {
    height: 28px !important;
  }
}
